package com.ruoyi.web.controller.work;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.work.domain.WorkClient;
import com.ruoyi.work.service.IWorkClientService;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * 客户管理Controller
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
@Controller
@RequestMapping({"/work/media",})
public class WorkMediaController extends BaseController
{
    private String prefix = "work/media";



    @RequiresPermissions("work:media:view")
    @GetMapping()
    public String media()
    {
        return prefix + "/media";
    }

/*
    *//**
     * 查询媒体资料列表
     *//*
    @RequiresPermissions("work:media:list")
    @PostMapping("/list/{mediaType}")
    @ResponseBody
    public TableDataInfo list(@PathVariable("mediatType") String mediaType,WorkClient workClient)
    {
        startPage();
        workClient.setClientType(mediaType);
        List<WorkClient> list = workClientService.selectWorkClientList(workClient);
        return getDataTable(list);
    }*/



}
